#!/bin/sh -e

clsed '/^directory =/s/=.*/= fmt/' subprojects/fmt.wrap

export DESTDIR="$1"

cl-meson \
    --auto-features=auto \
    -Dicu=disabled \
    -Dlibmpdclient=disabled \
    . output

ninja -C output
ninja -C output install
